package cn.tedu.zhyl.bed.service.impl;

import cn.tedu.zhyl.bed.mapper.BedMapper;
import cn.tedu.zhyl.bed.pojo.vo.BedVO;
import cn.tedu.zhyl.bed.service.BedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 董代恒
 * @version 1.0
 */
@Service
public class BedServiceImpl implements BedService {
    @Autowired
    private BedMapper bedMapper;

    @Override
    public List<BedVO> getAll() {
        return bedMapper.getAll();
    }
}
